using System.Text.Json.Serialization;

namespace HZY.Core.UploadFile;

public class FileContextInfo
{
    [JsonIgnore]
    public Exception? Exception { get; set; }

    public string? FileName { get; set; }

    public string? FileRoot { get; set; }

    public string? FileWebUrl { get; set; }

    public FileContextStates State { get; set; }

    public string? FullName { get; set; }

    public string? OldName { get; set; }

    public string FileSize { get; set; } = string.Empty;

    public string FileType { get; set; } = string.Empty;

    public string Sha { get; set; } = string.Empty;
}